package com.kaoshi.servefw.controller;


import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.kaoshi.common.config.Result;
import com.kaoshi.servefw.domain.Mfily;
import com.kaoshi.servefw.domain.Stables;
import com.kaoshi.servefw.mapper.MfilyMapper;
import com.kaoshi.servefw.service.MfilyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author author
 * @since 2024-10-29
 */

@RestController
@RequestMapping("/b/mfily")
public class MfilyController {
    @Autowired
    private MfilyService mfilyService;
    @RequestMapping("/list")
    public Result getMfily(){
        return Result.ok(mfilyService.list());
    }

}
